package com.tom.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
//@NoArgsConstructor
// 如果为null则不过滤
@JsonInclude( JsonInclude.Include.NON_NULL)
public class User {
    private Long id;
    private String username;
    private String sex;
    private String password;
    private String address;
    public User(){

    }
}
